<?php 
namespace app\model;
use think\Model;

class Dynamic extends Model
{	
	protected $createTime = 'ctime'; 

    public static function getTypeCn($key){
        $list = ['活动','报道','企业/LAB','职位'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['活动','报道','企业/LAB','职位'];
        return $list;
    }

    public static function getStatusCn($key){
        $list = [1=>'显示',0=>'隐藏'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = [1=>'显示',0=>'隐藏'];
        return $list;
    }

    public static function getLocationCn($key){
        $list = ['首页'];
        return $list[$key];
    }

    public static function getLocationList(){
        $list = ['首页'];
        return $list;
    }

    public static function getCommonIsCn($key){
        $list = [1=>'是',0=>'否'];
        return $list[$key];
    }

    public static function getCommonIsList(){
        $list = [1=>'是',0=>'否'];
        return $list;
    }
}


 ?>